<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "user_pay_vip".
 *
 * @property integer $user_id
 * @property integer $user_type_class
 * @property integer $start_time
 * @property integer $end_time
 */
class UserPayVip extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'user_pay_vip';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['user_id', 'user_type_class'], 'required'],
            [['user_id', 'user_type_class', 'start_time', 'end_time'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'user_id' => 'User ID',
            'user_type_class' => 'User Type Class',
            'start_time' => 'Start Time',
            'end_time' => 'End Time',
        ];
    }
}
